package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.StrategyContent;
import cn.wolfcode.luowowo.article.domain.StrategyDetail;
import cn.wolfcode.luowowo.common.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyDetailService {

    PageInfo query(QueryObject qo);

    void saveOrUpdate(StrategyDetail detail, String tags);

    StrategyDetail get(Long id);

    StrategyContent getContent(Long id);

    void changeState(Long id, Integer state);

    List<StrategyDetail> list();

    List<StrategyDetail> listViewnumTop3(Long destId);

    void updateStats(StrategyDetail detail);

}
